package com.ndp.fb.mongo.model;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created by sisi.chen on 2016/1/15.
 */
@Setter
@Getter
@NoArgsConstructor
public class AdvideoSplit implements Serializable {
    /**
     * 分段nfs地址
     */
    private String splitNfsFileId;

    /**
     * md5
     */
    private String md5;

    /**
     * 分段开始偏移量
     */
    private Integer startPosition;

    /**
     * 分段结束偏移量
     */
    private Integer endPosition;
    public AdvideoSplit(String splitNfsFileId, String md5, Integer startPosition, Integer endPosition) {
        this.splitNfsFileId = splitNfsFileId;
        this.md5 = md5;
        this.startPosition = startPosition;
        this.endPosition = endPosition;
    }

}
